package com.dmwork.service.interaction.feign.impl;

import com.dmwork.common.base.result.R;
import com.dmwork.service.interaction.feign.WorkFeignService;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class WorkFeignServiceFallback implements WorkFeignService {
    @Override
    public R modifyWorkCollectCount(String workId, Integer flag) {
        return R.error().message("修改失败");
    }

    @Override
    public R modifyBatchWorkCollectCount(List<String> workIdList, Integer flag) {
        return R.error().message("修改失败");
    }

    @Override
    public R getWorkInfoByWorkId(String workId) {
        return R.error();
    }

    @Override
    public R getWorkListByWorkIds(List<String> workIdList) {
        return R.error();
    }
}
